﻿@model SQLResident.Models.BlockedProcessLog

@{
    ViewBag.Title = "Edit";
}
<ul class="breadcrumb">
    <li><a href="@Url.Action("Index","Home")">Inicio</a> <span class="divider">/</span></li>
    <li><a href="@Url.Action("Index","BlockedProcessLog")">Procesos Bloqueados</a> <span class="divider">/</span></li>
    <li class="active">Editar</li>
</ul>
<h2>Edit</h2>

<script src="@Url.Content("~/Scripts/jquery.validate.min.js")" type="text/javascript"></script>
<script src="@Url.Content("~/Scripts/jquery.validate.unobtrusive.min.js")" type="text/javascript"></script>

@using (Html.BeginForm()) {
    @Html.ValidationSummary(true)
    <fieldset>
        <legend>BlockedProcessLog</legend>

        @Html.HiddenFor(model => model.BlockedProcessId)

        <div class="editor-label">
            @Html.LabelFor(model => model.BlockingProcessId, "BlockingProcessLog")
        </div>
        <div class="editor-field">
            @Html.DropDownList("BlockingProcessId", String.Empty)
            @Html.ValidationMessageFor(model => model.BlockingProcessId)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.BlockedSPId)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.BlockedSPId)
            @Html.ValidationMessageFor(model => model.BlockedSPId)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.BlockedCheckedTime)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.BlockedCheckedTime)
            @Html.ValidationMessageFor(model => model.BlockedCheckedTime)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.Kpid)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.Kpid)
            @Html.ValidationMessageFor(model => model.Kpid)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.Blocked)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.Blocked)
            @Html.ValidationMessageFor(model => model.Blocked)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.LastWaitType)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.LastWaitType)
            @Html.ValidationMessageFor(model => model.LastWaitType)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.waitresource)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.waitresource)
            @Html.ValidationMessageFor(model => model.waitresource)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.dbid)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.dbid)
            @Html.ValidationMessageFor(model => model.dbid)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.uid)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.uid)
            @Html.ValidationMessageFor(model => model.uid)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.cpu)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.cpu)
            @Html.ValidationMessageFor(model => model.cpu)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.physical_io)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.physical_io)
            @Html.ValidationMessageFor(model => model.physical_io)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.memusage)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.memusage)
            @Html.ValidationMessageFor(model => model.memusage)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.login_time)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.login_time)
            @Html.ValidationMessageFor(model => model.login_time)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.last_batch)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.last_batch)
            @Html.ValidationMessageFor(model => model.last_batch)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.ecid)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.ecid)
            @Html.ValidationMessageFor(model => model.ecid)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.open_tran)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.open_tran)
            @Html.ValidationMessageFor(model => model.open_tran)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.status)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.status)
            @Html.ValidationMessageFor(model => model.status)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.hostname)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.hostname)
            @Html.ValidationMessageFor(model => model.hostname)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.program_name)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.program_name)
            @Html.ValidationMessageFor(model => model.program_name)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.hostprocess)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.hostprocess)
            @Html.ValidationMessageFor(model => model.hostprocess)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.cmd)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.cmd)
            @Html.ValidationMessageFor(model => model.cmd)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.nt_domain)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.nt_domain)
            @Html.ValidationMessageFor(model => model.nt_domain)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.nt_username)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.nt_username)
            @Html.ValidationMessageFor(model => model.nt_username)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.net_address)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.net_address)
            @Html.ValidationMessageFor(model => model.net_address)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.net_library)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.net_library)
            @Html.ValidationMessageFor(model => model.net_library)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.loginame)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.loginame)
            @Html.ValidationMessageFor(model => model.loginame)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.stmt_start)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.stmt_start)
            @Html.ValidationMessageFor(model => model.stmt_start)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.stmt_end)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.stmt_end)
            @Html.ValidationMessageFor(model => model.stmt_end)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.request_id)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.request_id)
            @Html.ValidationMessageFor(model => model.request_id)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.Sentence)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.Sentence)
            @Html.ValidationMessageFor(model => model.Sentence)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.Duration)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.Duration)
            @Html.ValidationMessageFor(model => model.Duration)
        </div>

        <p>
            <input type="submit" value="Save" />
        </p>
    </fieldset>
}

<div>
    @Html.ActionLink("Back to List", "Index")
</div>
